package com.midou.administration.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class IngredientsBo {
    private Integer ingredientsId;

    /**
     * 食材名称
     */
    @TableField("Ingredients_name")
    private String ingredientsName;

    /**
     * 食材数量
     */
    @TableField("Ingredients_conut")
    private Integer ingredientsConut;
    @TableField("Ingredients_company")
    private String IngredientsCompany;
    @TableField("Ingredientstype_id")
    private Integer IngredientstypeId;

    private String IngredientstypeName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date IngredientstypeDate;
}
